package cn.itlaobing.model;

import java.io.Serializable;

/**
 * Created by Administrator on 2017-11-13.
 * 主要查询当前主界面的信息，主要是热销信息
 */
public class GoodDetailModel implements Serializable{


    private Integer goodId;
    private String goodName;
    private String goodCoverImg;
    private Double salePrice;
    public GoodDetailModel()
    {

    }

    public GoodDetailModel(Integer goodId, String goodName, String goodCoverImg, Double salePrice) {
        this.goodId = goodId;
        this.goodName = goodName;
        this.goodCoverImg = goodCoverImg;
        this.salePrice = salePrice;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodCoverImg() {
        return goodCoverImg;
    }

    public void setGoodCoverImg(String goodCoverImg) {
        this.goodCoverImg = goodCoverImg;
    }

    public Double getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Double salePrice) {
        this.salePrice = salePrice;
    }

    @Override
    public String toString() {
        return "GoodDetailModel{" +
                "goodId=" + goodId +
                ", goodName='" + goodName + '\'' +
                ", goodCoverImg='" + goodCoverImg + '\'' +
                ", salePrice=" + salePrice +
                '}';
    }
}
